package 反射.T3;

public class T3 {

    public static void main(String[] args) throws  IllegalAccessException, InstantiationException {

        Class<Dog> dogClass = Dog.class;
        Dog dog = dogClass.newInstance();
        dog.cell();
        dog.sleep();
    }
}
